#ifndef DRAWMANAGER_H
# define DRAWMANAGER_H

# include <QPainter>
# include "Map.hpp"
# include "Tile.hpp"

class DrawManager
{
public:
    DrawManager(QPainter &painter, const int drawAreaWidth, const int drawAreaHeight, const int mapWidth, const int mapHeight);

    void        drawQuads(Map &map);
    void        drawMap(Map& map);

private:
    QPainter&   _painter;
    int         _drawAreaWidth;
    int         _drawAreaHeight;
    int         _mapWidth;
    int         _mapHeight;
};

#endif // DRAWMANAGER_H
